Conservative vs. optimistic parallel simulation of DEVS and Cell-DEVS: a comparative study
نویسندگان
چکیده
The conservative Parallel DEVS protocol offers a novel approach that allows conservative simulation of DEVS-based PDES systems. The protocol is based on the classical Chandy-Misra-Bryant synchronization mechanism, and it extends the DEVS abstract simulator to provide means for lookahead computation and null-messages. We present a purely conservative simulator, called CCD++, designed for running large-scale DEVS and Cell-DEVS models in parallel and distributed fashion. A comparative performance analysis is presented, analyzing the performance of CCD++ compared to an optimistic DEVS simula-tor. Several DEVS-based environmental models with different characteristics are studied. The experiments indicate that the conservative simulator improves performance in terms of execution time, memory usage, operational cost, and system stability for very large models. 1. INTRODUCTION Many studies have been carried out to show the differences between parallel synchronization mechanisms. Conservative and optimistic approaches are the two major classes of parallel synchronization techniques proposed for parallel discrete event simulation (PDES). Conservative synchronization [1] has more limited parallelism when compared to optimistic algorithms. Conservative approaches strictly avoid causality violations while optimistic approaches [2] allow violations and recover from them by providing a rollback mechanism (which is more costly in rollback and state saving overhead). The Chandy-Misra-Bryant (CMB) [3,4] conservative mechanism prevents deadlocks by introducing null-messages and the notion of lookahead. We are interested in combining advanced parallel simulation algorithms for large scale simulations. We want to combine the formal advantages of the DEVS
منابع مشابه
Conservative Synchronization Methods for Parallel DEVS and Cell-DEVS
We present three conservative synchronization mechanisms for parallel DEVS and Cell-DEVS. The protocols are based on the classical Chandy-Misra-Bryant null message mechanism with deadlock avoidance. Our protocols provide a novel DEVS-based conservative approach that is deadlockfree, and extracts the lookahead information from the model’s specification. The protocols are integrated into the CD++...
متن کاملParallel Environment for DEVS and Cell-DEVS Models
Discrete Event System Specification (DEVS) is a sound formalism to describe generic dynamic systems in a hierarchical and modular way. Cell-DEVS is a DEVS-based formalism intended to model complex physical systems as cell spaces. This work presents new techniques for executing DEVS and Cell-DEVS models in parallel and distributed environments based on the WARPED kernel, an implementation of the...
متن کاملA performance evaluation of the conservative DEVS protocol in parallel simulation of DEVS-based models
We present the performance evaluation of the Conservative DEVS protocol. This conservative algorithm is based on the classical Chandy-Misra-Bryant (CMB) synchronization mechanism, and extends the DEVS abstract simulator by providing means for lookahead computation and null message distribution. The protocol is integrated into the CD++ simulation toolkit, providing a conservative simulator (name...
متن کاملPythonPDEVS: a distributed parallel DEVS simulator
We extend PythonPDEVS, our modular simulator for the Parallel DEVS formalism, with distributed simulation using optimistic synchronization based on Time Warp. Modularity is maintained, with the addition of several new components useful for distributed simulation. The PythonPDEVS simulator supports, among others, model migration, modular allocation strategies, and distributed termination conditi...
متن کاملA PDEVS Simulator Supporting Multiple Synchronization Protocols: Implementation and Performance Analysis
With the ever increasing complexity of simulation models, parallel simulation becomes necessary to perform simulation within reasonable time bounds. The built-in parallelism of Parallel DEVS is often insufficient to tackle this problem on its own. Several synchronization protocols have been proposed, each with their distinct advantages and disadvantages. Due to the significantly different imple...
متن کامل